#include"vector.h"

using namespace MY_Vecter;
using std::cout;
using std::endl;
int main()
{
    myvecter<int> v1(4);

    v1.push_back(1);
    v1.push_back(2);
    v1.push_back(3);
    v1.push_back(4);
    v1.push_back(5);

    size_t capacity = v1.capacity();
    size_t size = v1.size();

    for (auto value : v1)
        cout << value << "  ";
    cout << endl;
    cout << "容量： " << capacity << endl;
    cout << "大小： " << size << endl;

    return 0;
}